
import layout from '@/layout'
export default {
  path: '/car',
  component: layout,
  name: 'car',
  meta: {
    title: '车辆管理',
    icon: 'el-icon-bicycle'
  },
  children: [{
    path: '/organic',
    name: 'organic',
    meta: {
      title: '车形管理'
    },
    component: () => import('@/views/car/organic')
  },
  {
    path: '/warning',
    name: 'warning',
    meta: {
      title: '车辆例表'
    },
    component: () => import('@/views/car/warning')

  },
  {
    path: '/details/:id?',
    name: 'warningDetails',
    component: () => import('@/views/car/warning/Details/Details.vue'),
    hidden: true,
    meta: {
      title: '车辆详情'
    }
  },
  {
    path: '/compile/:id?',
    name: 'compile',
    component: () => import('@/views/car/warning/compile/compile.vue'),
    hidden: true,
    meta: {
      title: '编辑车辆详情'
    }
  },
  {
    path: '/register',
    name: 'register',
    meta: {
      title: '回车登记'
    },
    component: () => import('@/views/car/register')
  }
  ]

}
